<?php

namespace App\Console;


use App\Jobs\CloseIntegralOrder;
use App\Jobs\CloseOrder;
use App\Jobs\CloseOrderFlow;


use App\Jobs\RecivedOrder;
use App\Jobs\ReduceGrade;
use App\Jobs\RegisterCodeExpire;

use App\Jobs\SyncOrderJob;
use App\Jobs\VirtualRecived;
use App\Jobs\VirtualSeparate;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;

class Kernel extends ConsoleKernel
{
    /**
     * Define the application's command schedule.
     *
     * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
     * @return void
     */
    protected function schedule(Schedule $schedule)
    {
        //定时关闭单
//        info('执行了定时任务');

        // 解绑用户
//        $schedule->job(new InvalidUserJob())->everyMinute();
    }

    /**
     * Register the commands for the application.
     *
     * @return void
     */
    protected function commands()
    {
        $this->load(__DIR__.'/Commands');

        require base_path('routes/console.php');
    }
}
